<div class="po-table-link" [ngClass]="{ 'po-table-link-disabled': disabled }">
  @switch (type) {
    @case ('action') {
      <po-link [p-label]="value" [p-open-new-tab]="openNewTab" (p-action)="action?.(value, row)"></po-link>
    }
    @case ('externalLink') {
      <po-link [p-label]="value" [p-open-new-tab]="openNewTab" [p-url]="link"></po-link>
    }
    @case ('internalLink') {
      <po-link [p-label]="value" [p-open-new-tab]="openNewTab" [p-url]="link"></po-link>
    }
  }
</div>
